home *** CD-ROM | disk | FTP | other *** search
- REM $INCLUDE: 'fastgraf.bi'
-
- DEFINT A-Z
-
- CONST VBwidth = 20
- CONST VBheight = 20
-
- OldMode = FGgetmode
- FGsetmode 19
- FGvbinit
-
- FGsetcolor 15
- FGrect 0, VBwidth-1, 0, VBheight-1
- FGsetcolor 9
- FGrect 1, VBwidth-2, 1, VBheight-2
- FGwaitkey
-
- SetMemStatus& = SETMEM(-(VBwidth*VBheight+16))
- Handle = FGvballoc(VBwidth,VBheight)
- Status = FGvbopen(Handle)
- FGvbcut 0, VBwidth-1, 0, VBheight-1, 0, VBheight-1
-
- FOR X = 0 TO 320-VBwidth STEP VBwidth
- FGvbpaste 0, VBwidth-1, 0, VBheight-1, X, 199
- NEXT
- FGwaitkey
-
- FGvbclose
- FGvbfree Handle
- FGsetmode OldMode
- FGreset
- END